/* 
 * @Title: RefundStatusCode.java 
 * @Package com.jiankangjin.transsystem.stautscode 
 * @Description: TODO 
 * @author neason
 * @date 2014年7月31日 下午3:37:07 
 * @version V1.0   
 */ 
package com.jiankangjin.weixinchannel.statuscode;

import java.util.HashMap;
import java.util.Map;


/**  
 * 退款code 
 * 类修改者 修改日期 
 * 修改说明  
 * <p>Title: RefundStatusCode.java</p> 
 * <p>Copyright: Copyright (c) 2014</p> 
 * @author neason 
 * @date 2014年7月31日 下午3:37:07 
 * @version V1.0 
 */
public class RefundStatusCode {
	public final static String IS_NOT_REFUND 	 = "0000";
	public final static String APPLY_FOR_REFUND  = "0012";
	public final static String REFUNDING		 = "0022";
	public final static String SOME_IS_REFUND	 = "0002";
	public final static String REFUND_Failed	 = "0042";
	public final static String REFUND_TIMEOUT	 = "0072";
	public final static String IS_REFUND		 = "1002";
	
	private static Map<String, String> sMap = new HashMap<String, String>();
	
	static {
		sMap.put(IS_NOT_REFUND, "未退款");
		sMap.put(APPLY_FOR_REFUND, "申请退款");
		sMap.put(REFUNDING, "退款中");
		sMap.put(SOME_IS_REFUND, "部分退款");
		sMap.put(REFUND_Failed, "退款失败");
		sMap.put(REFUND_TIMEOUT, "退款超时");
		sMap.put(IS_REFUND, "已全部退款");
	}
	
	public static String getDesc(String code){
		return sMap.get(code);
	}
}
